package cn.zcf.basic.mapper;

import cn.zcf.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    List<T> loadAll();
    T loadById(Long id);
    void remove(Long id);
    void add(T t);
    void update(T t);
    List<T> queryData(BaseQuery query);
    Integer queryCount(BaseQuery query);

    void patchDel(List<Long> ids);
}
